判断下列代码段的大O级别:test = 0 for i in range(n): for j in range(n): test = test + i * jA:O(n) B:O(n^2) C:O(n^3) D:O(n*log(n)) 答案: O(n^2)



登录
订单
帮助
主页